﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VOL.Entity.DomainModels.PatientManage;
using VOL.SmartMecial.Infrastructure;
using VOL.SmartMecial.IServices.PayInfoManage;

namespace VOL.SmartMecial.Services.PayInfoManage
{
    public class PayItemService : IPayItemService
    {
        private readonly IBaseRepository<PayItem> _payitembaseRepository;

        public PayItemService(IBaseRepository<PayItem> payitembaseRepository)
        {
            _payitembaseRepository = payitembaseRepository;
        }
        /// <summary>
        /// 缴费明细列表
        /// </summary>
        /// <returns>返回</returns>
        public List<PayItem> GetPayItemList()
        {
            return _payitembaseRepository.GetAll().ToList();
        }
    }
}
